﻿<p:Square3D x:Class="Wpf3dCollaborative.Cam"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"          
              xmlns:WPFMediaKit="clr-namespace:WPFMediaKit.DirectShow.Controls;assembly=WPFMediaKit"
            
              xmlns:p="http://www.codeplex.com/perspective"           
            MouseLeftButtonUp="Square3D_MouseLeftButtonUp"        
            MouseMove="Square3D_MouseMove"                  
        MouseRightButtonUp="Square3D_MouseRightButtonDown"
            MouseLeftButtonDown="Square3D_MouseLeftButtonDown"
            LostMouseCapture="Square3D_LostMouseCapture"
            PreviewTextInput="Square3D_PreviewTextInput"
                      
      MouseWheel="Square3D_MouseWheel"
            
           
        >
  
    <p:Square3D.Material>
      
        <DiffuseMaterial>
            <DiffuseMaterial.Brush >
                
                <VisualBrush x:Name="Content">                 

                    <VisualBrush.RelativeTransform>
                        <RotateTransform x:Name="Rotatecam"  CenterX="0.5" CenterY="0.5" Angle="0" />
                    </VisualBrush.RelativeTransform>

                </VisualBrush>

            </DiffuseMaterial.Brush>
        </DiffuseMaterial>
        
    </p:Square3D.Material>


</p:Square3D>